EPT/VT-d: Enhance MTRR/PAT virtualization when EPT/VT-d both enabled
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Jan 2009 14:42:29 +0000 (14:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 23 Jan 2009 14:42:29 +0000 (14:42 +0000)
commit7b97780b624ac22d393b9064bbaba31b50e01ad0
treef28ac46c31c24bc852843489b8cd567fe4c7c6f5
parent83833d973b14318d04e0740c8557ffb683679fa1
EPT/VT-d: Enhance MTRR/PAT virtualization when EPT/VT-d both enabled

Set effective memory type for EPT according to the VT-d snoop control
capability, and also includes some cleanups for EPT & VT-d both enabled.

Signed-off-by: Edwin Zhai <Edwin.Zhai@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
xen/arch/x86/hvm/mtrr.c
xen/arch/x86/mm/hap/p2m-ept.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/dmar.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/passthrough/vtd/iommu.h
xen/include/asm-x86/hvm/vmx/vmx.h
xen/include/asm-x86/mtrr.h
xen/include/xen/iommu.h